package com.dj.mingkong.portal.biz.controller.music.vo.request;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PositiveOrZero;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 专辑收藏VO
 *
 * @author zenglonghui
 * @date: 2022/8/24 22:46
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AlbumCollectAddVo implements Serializable {
    /**
     * 专辑id
     */
    @NotNull(message = "albumId can not be null")
    private Long albumId;

    /**
     * 关注类型 0正常关注 1悄悄关注
     */
    @NotNull(message = "type can not be null")
    @Max(value = 1, message = "type invalid")
    @Min(value = 0, message = "type invalid")
    @PositiveOrZero(message = "type invalid")
    private Integer type;

}
